<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${goodsWarehouse.id}"  type="hidden">
							<div class="form-group">	
								<label class="col-sm-3 control-label">货仓名：</label>
								<div class="col-sm-8">
									<input id="name" name="name" th:value="${goodsWarehouse.name}" class="form-control" type="text">
								</div>
							</div>

							<div class="form-group">
								<label for="imgurl1" class="col-sm-3 control-label">分类图片：</label>
								<div class="col-sm-8">
									<div id="file_upload1">
									</div>
									<div id="img1" style="padding: 5px;">

										<img th:src="${goodsWarehouse.imgurl1}" style='height: 60px;width: 60px'>
										<i class="fa fa-close" onclick="$('#imgurl1').val('');$('#img1').html('');"></i>

									</div>
									<input type="hidden" id="imgurl1" name="imgurl1" th:value="${goodsWarehouse.imgurl1}" >
								</div>
							</div>

							<div class="form-group">
								<label for="imgurl2" class="col-sm-3 control-label">首页图片：</label>
								<div class="col-sm-8">
									<div id="file_upload2">
									</div>
									<div id="img2" style="padding: 5px;">

										<img th:src="${goodsWarehouse.imgurl2}" style='height: 60px;width: 60px'>
										<i class="fa fa-close" onclick="$('#imgurl2').val('');$('#img2').html('');"></i>

									</div>
									<input type="hidden" id="imgurl2" name="imgurl2" th:value="${goodsWarehouse.imgurl2}" >
								</div>
							</div>

							<div class="form-group">
								<label for="imgurl3" class="col-sm-3 control-label">列表页头部图片：</label>
								<div class="col-sm-8">
									<div id="file_upload3">
									</div>
									<div id="img3" style="padding: 5px;">

										<img th:src="${goodsWarehouse.imgurl3}" style='height: 60px;width: 60px'>
										<i class="fa fa-close" onclick="$('#imgurl3').val('');$('#img3').html('');"></i>

									</div>
									<input type="hidden" id="imgurl3" name="imgurl3" th:value="${goodsWarehouse.imgurl3}" >
								</div>
							</div>
														<!--<div class="form-group">
								<label class="col-sm-3 control-label">：</label>
								<div class="col-sm-8">
									<input id="note" name="note" th:value="${goodsWarehouse.note}" class="form-control" type="text">
								</div>
							</div>-->

														<div class="form-group">	
								<label class="col-sm-3 control-label">汇率 1元=？外币：</label>
								<div class="col-sm-8">
									<input id="proportion" name="proportion" th:value="${goodsWarehouse.proportion}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">排序字段：</label>
								<div class="col-sm-8">
									<input id="location" name="location" th:value="${goodsWarehouse.location}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">是否启用：</label>
								<div class="col-sm-8">
									<label class="radio-inline">
										<input th:field="*{goodsWarehouse.delFlag}" type="radio" name="delFlag" value="0" />
										是
									</label>
									<label class="radio-inline">
										<input th:field="*{goodsWarehouse.delFlag}" type="radio" name="delFlag" value="1" />
										否
									</label>
								</div>
							</div>
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script src="/js/layui.js"></script>
	<script type="text/javascript" src="/js/appjs/wx/goodsWarehouse/edit.js">
	</script>
</body>
</html>
